from likeshop.base.mybase import Tools


# 获取订单列表
class obtain_order_list_model(Tools):
    # 定义登录路径
    path = "/page/order/lists"

    # 发送登录请求
    def obtain_order_list_action(self, sbid, db):
        mydata = {
            'type': sbid
        }
        res = self.session.get(url=self.hosturl+self.path, params=mydata, headers=db)
        return res.json()


